<?php

/*
|--------------------------------------------------------------------------
| Web Routes
|--------------------------------------------------------------------------
|
| Here is where you can register web routes for your application. These
| routes are loaded by the RouteServiceProvider within a group which
| contains the "web" middleware group. Now create something great!
|
*/

use Illuminate\Support\Facades\Route;

Route::get('/', function () {
    return view('welcome');
});

Route::get("/","Admin\AdminController@index");

// 电影类别管理页面
Route::get("types","Admin\TypesController@types"); // 类别页面
Route::get("typesaddpage","Admin\TypesController@typesaddpage"); // 添加页面
Route::post("addInfo","Admin\TypesController@addInfo"); // 添加请求
Route::get("delete","Admin\TypesController@delete"); // 删除请求

// 电影国籍管理页面
Route::get("country","Admin\CountryController@country"); // 类别页面
Route::get("countryaddpage","Admin\CountryController@countryaddpage"); // 添加页面
Route::post("countryaddInfo","Admin\CountryController@countryaddInfo"); // 添加请求
Route::get("countrydelete","Admin\CountryController@countrydelete"); // 添加请求

// 电影国籍管理页面
Route::get("kino","Admin\MovieController@kino"); // 类别页面
Route::get("movieaddpage","Admin\MovieController@movieaddpage"); // 添加页面
Route::post("movieaddInfo","Admin\MovieController@movieaddInfo"); // 添加请求
Route::get("moviedelete","Admin\MovieController@moviedelete"); // 添加请求




Route::get("home1","Home\HomeController@home1");
Route::get("play","Home\HomeController@play");
